//--------C++------------
#include<iostream>
#include<string>
//---------C-------------
#include<cassert>
#include<cstdlib>
#include<cstring>
//--------system---------
#include<sys/types.h>
#include<sys/stat.h>
#include<unistd.h>
#include<fcntl.h>
using namespace std;
string PIPE_NAME = {"/tmp/named_pipe"}; 
bool Create_Pipe(const string name){
    umask(0);
    int n = mkfifo(name.c_str(),0600);
    if(n != 0)
        return false;
    return true;
}

void Delete_Pipe(const string name){
    int n = unlink(name.c_str());
    assert(!n);
    (void)n;  // "assert()"Only appears in debug  Not included in the release
}